package com.bskj.common.bean.model;

import java.util.Date;

/**
 * 
 * @author lishi
 * @date 2017-11-29 下午3:51:59
 * 
 *       第三方充值记录
 * 
 */
public class PayInfo extends BaseModels implements BaseModel {
	private Integer id; // 主键
	private Integer payType = 1; // 支付方式（1-微信 2-支付宝）
	private Integer userId; // 用户ID
	private String orderNo; // 订单号
	private String transactionId; // 第三方支付平台订单号
	private String tradeType; // 交易类型 （JSAPI、NATIVE、AP）
	private String bankType; // 付款银行编码 （具体取值，微信API）
	private int needFee = 0; // 应付金额（单位：分 理论上need_fee=total_fee）
	private int totalFee = 0; // 订单金额（单位：分）
	private int status = 0; // 支付订单状态（0-待支付 1-成功）
	private int refundMoney = 0;// 提现金额
	private int remainMoney = 0;// 剩余金额
	private Date createTime; // 创建时间
	private Date updateTime; // 修改时间

	private int refundFee;//退款单笔金额
	private int refundInfoId;//退款单笔单号
	private String refundInfoNo;
	
	@Column
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	@Column
	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}
	@Column
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	@Column
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	@Column
	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	@Column
	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}
	@Column
	public String getBankType() {
		return bankType;
	}

	public void setBankType(String bankType) {
		this.bankType = bankType;
	}
	@Column
	public int getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(int totalFee) {
		this.totalFee = totalFee;
	}
	@Column
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	@Column
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	@Column
	public int getNeedFee() {
		return needFee;
	}

	public void setNeedFee(int needFee) {
		this.needFee = needFee;
	}

	public int getRefundMoney() {
		return refundMoney;
	}

	public void setRefundMoney(int refundMoney) {
		this.refundMoney = refundMoney;
	}

	public int getRemainMoney() {
		return remainMoney;
	}

	public void setRemainMoney(int remainMoney) {
		this.remainMoney = remainMoney;
	}

	public int getRefundFee() {
		return refundFee;
	}

	public void setRefundFee(int refundFee) {
		this.refundFee = refundFee;
	}

	public int getRefundInfoId() {
		return refundInfoId;
	}

	public void setRefundInfoId(int refundInfoId) {
		this.refundInfoId = refundInfoId;
	}

	public String getRefundInfoNo() {
		return refundInfoNo;
	}

	public void setRefundInfoNo(String refundInfoNo) {
		this.refundInfoNo = refundInfoNo;
	}
}
